import React, { Component } from "react";

import personIcon from "../assets/person.svg";
import "../style/passager.css";

class Passager extends Component {
  constructor(props) {
    super(props);
    this.weight = 70;
  }
  render() {
    const { desFloor = -1 } = this.props;
    return (
      <div className="passager-root">
        <img className="person-img" src={personIcon} alt="" />
        <span className="des-num">{desFloor}</span>
      </div>
    );
  }
}

export default Passager;
